package com.nbcio.demo.mapper;

import com.nbcio.demo.domain.TestOrderGoods;
import com.nbcio.demo.domain.vo.TestOrderGoodsVo;
import com.nbcio.common.mybatis.core.mapper.BaseMapperPlus;
import java.util.List;
import java.util.Collection;
import org.apache.ibatis.annotations.Param;

/**
 * 订单子表Mapper接口
 *
 * @author nbacheng
 * @date 2025-04-24
 */
public interface TestOrderGoodsMapper extends BaseMapperPlus<TestOrderGoods, TestOrderGoodsVo> {
	int deleteTestOrderGoodsByMainIds(Collection<Long> ids);
    int deleteTestOrderGoodsByMainId(Long id);
    List<TestOrderGoods> selectByMainId(Long id);
    /**
     * 批量插入
     */
    int batchTestOrderGoods(@Param("list") List<TestOrderGoods> list);
}

